<html>
<head>
<title>catalog_form</title>
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/bootstrap-theme.min.css">
	<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>public/css/style.css">
	<script charset="utf-8" src="<?php echo base_url(); ?>public/js/jquery.js"></script>
	<script charset="utf-8" src="<?php echo base_url(); ?>public/js/jquery.upload.js"></script>
</head>
<body>
<?php $this->load->view('admin/header'); ?>
<div class="container from ">
	<div class="page-header">
	<h1><?php echo $title; ?>分类</h1>
	</div>
	<div class="row">
		<div class="col-md-10">
			<form action="" method="post" class="form-horizontal">
				<div class="form-group">
				<label class="col-sm-2 control-label"><b class="error">*</b>名称：</label>
			 		<div class="col-sm-10">
						<input class="form-control" type="text" name="name" value="<?php echo set_value('name',$catalog->name); ?>" />
						<?php echo form_error('name'); ?>
					</div>
				</div>
				<
				<div class="form-group">
					<label class="col-sm-2 control-label"></label>
					<div class="col-sm-10">
						<input class="btn btn-info"  type="submit" value="确认添加"><a href="<?php echo site_url('/admin/catalog/index') ?>">返回></a>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>
</body>
</html>